package com.service;

import com.model._do.DoctorAuthDO;
import com.model._do.UserDO;
import com.model.dto.SuperviseDTO.AuthDoctorDTO;
import com.model.dto.SuperviseDTO.Search.AuthDoctorSearch;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;

public interface DoctorAuthService {

    public void upLoadAuthFile(MultipartFile file, @RequestBody DoctorAuthDO auth, HttpServletRequest req) throws IOException;

    public DoctorAuthDO getDoctorByUserId(UserDO doctor);

    public List<AuthDoctorDTO> getAuthInfo(AuthDoctorSearch search);

    public void pushAuthResult(DoctorAuthDO auth);
}
